package com.d3works.apps.account.service.analytic;

import com.d3works.apps.account.db.AnalyticAccount;
import com.d3works.apps.account.db.AnalyticAxis;
import com.d3works.apps.account.db.AnalyticMoveLine;
import com.d3works.apps.base.db.Company;
import com.d3works.exception.D3worksException;
import java.util.List;

public interface AnalyticToolService {

  boolean isManageAnalytic(Company company) throws D3worksException;

  boolean isPositionUnderAnalyticAxisSelect(Company company, int position) throws D3worksException;

  boolean isAxisAccountSumValidated(
      List<AnalyticMoveLine> analyticMoveLineList, AnalyticAxis analyticAxis);

  boolean isAnalyticAxisFilled(
      AnalyticAccount analyticAccount, List<AnalyticMoveLine> analyticMoveLineList);
}
